
var obj3 = {
  "T1348648517839": [
    {
      "postid": "PHOTIMLM000300AJ",
      "hasCover": false,
      "hasHead": 1,
      "replyCount": 3446,
      "hasImg": 1,
      "digest": "",
      "hasIcon": true,
      "docid": "9IG74V5H00963VRO_C35N1A5BgaorrupdateDoc",
      "title": "倪妮小露事业线玩性感 获高层轻抚腰",
      "order": 1,
      "priority": 250,
      "lmodify": "2016-10-12 14:06:51",
      "boardid": "ent2_bbs",
      "ads": [
        {
          "title": "倪妮抹胸小露乳沟玩性感 获外籍高层轻抚腰",
          "tag": "photoset",
          "imgsrc": "http://cms-bucket.nosdn.127.net/8dc0952df20849d3aa53abc237f6d7cc20161012094308.jpeg",
          "subtitle": "",
          "url": "00AJ0003|613046"
        }
      ],
      "photosetID": "00AJ0003|613046",
      "template": "normal1",
      "votecount": 3212,
      "skipID": "00AJ0003|613046",
      "alias": "Entertainment",
      "skipType": "photoset",
      "cid": "C1348648351901",
      "hasAD": 1,
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/fca2ca203a2f4961a449ccc91ac01b6820161012075319.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/6c0827d32e52437894edcd71fb9d5dca20161012075327.jpeg"
        }
      ],
      "source": "网易原创",
      "ename": "yule",
      "imgsrc": "http://cms-bucket.nosdn.127.net/d1587a46b8ad4477809906157687816820161012135541.jpeg",
      "tname": "娱乐",
      "ptime": "2016-10-12 07:53:38"
    },
    {
      "postid": "C364123N000380BQ",
      "url_3w": "http://ent.163.com/16/1012/11/C364123N000380BQ.html",
      "votecount": 21648,
      "replyCount": 22239,
      "skipID": "S1436075264791",
      "ltitle": "张靓颖疑发文后秒删：抱歉没按你们以为的剧本走",
      "digest": "微博截图网易娱乐专稿10月12日报道（文/小易）8日，张靓颖冯轲传出婚讯，张靓颖母亲却反对婚事，称冯轲压榨女儿，起诉冯轲，更曝出冯轲“养小三”，一场家庭战争闹得",
      "skipType": "special",
      "url": "http://3g.163.com/ent/16/1012/11/C364123N000380BQ.html",
      "specialID": "S1436075264791",
      "docid": "C364123N000380BQ",
      "title": "张靓颖疑发文后秒删：抱歉没按你们以为的剧本走",
      "source": "网易娱乐专稿",
      "priority": 151,
      "lmodify": "2016-10-12 11:48:29",
      "boardid": "ent2_bbs",
      "subtitle": "",
      "imgsrc": "http://cms-bucket.nosdn.127.net/b656275531434a79b3c4e12b731f17f220161012114442.jpeg",
      "ptime": "2016-10-12 11:40:41"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/07/C35M0B2G000380BQ.html",
      "postid": "C35M0B2G000380BQ",
      "votecount": 20003,
      "replyCount": 20692,
      "ltitle": "张靓颖母亲将撤诉股权纠纷案 冯轲否认炒作",
      "digest": "网易娱乐10月12日报道近日，张靓颖母亲不满准女婿冯轲的事情持续发酵，但张靓颖并没有打乱任何工作计划，11日晚九点，她如期出现在生日会现场。在台上张靓颖发表生日",
      "url": "http://3g.163.com/ent/16/1012/07/C35M0B2G000380BQ.html",
      "docid": "C35M0B2G000380BQ",
      "title": "张靓颖母亲将撤诉股权纠纷案 冯轲否认炒作",
      "source": "网易娱乐",
      "priority": 151,
      "lmodify": "2016-10-12 11:45:23",
      "imgsrc": "http://cms-bucket.nosdn.127.net/e35121f9ac8c4b95a975821399611bea20161012074048.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 07:35:38"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/09/C35TK10F000380BQ.html",
      "postid": "C35TK10F000380BQ",
      "votecount": 14922,
      "replyCount": 15164,
      "ltitle": "卓伟否认被张靓颖利用 称张母为女儿暂忍一口气",
      "digest": "网易娱乐10月12日报道据网友爆料，昨晚，张靓颖32岁生日会选择在她当年超女比赛前的驻场酒吧庆祝。现场最令人意外的是张靓颖和妈妈、冯轲同台，关系疑似和解。对此，",
      "url": "http://3g.163.com/ent/16/1012/09/C35TK10F000380BQ.html",
      "docid": "C35TK10F000380BQ",
      "title": "卓伟否认被张靓颖利用 称张母为女儿暂忍一口气",
      "source": "网易娱乐",
      "priority": 150,
      "lmodify": "2016-10-12 13:18:19",
      "imgsrc": "http://cms-bucket.nosdn.127.net/6535326f1b14447290f5abaa850a4cdf20161012095709.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 09:48:43"
    },
    {
      "docid": "9IG74V5H00963VRO_C342V75MbjjinshuupdateDoc",
      "editor": [
        
      ],
      "title": "郭敬明《爵迹》后再出发 听听他还要拍啥!",
      "TAGS": "正在直播 视频",
      "skipID": "99878",
      "source": "网易原创",
      "imgType": 1,
      "priority": 144,
      "live_info": {
        "mutilVideo": false,
        "pano": false,
        "remindTag": 1,
        "end_time": "2016-10-12 19:00:00",
        "user_count": 181720,
        "roomId": 99878,
        "start_time": "2016-10-12 15:20:00",
        "type": 0,
        "video": true
      },
      "lmodify": "2016-10-12 15:19:07",
      "imgsrc": "http://cms-bucket.nosdn.127.net/693f39cc947245b1ad9953708d59d8b020161011163511.jpeg",
      "digest": "",
      "skipType": "live",
      "ptime": "2016-10-11 16:43:43",
      "TAG": "正在直播"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/15/C36FSQ7T000380BQ.html",
      "postid": "C36FSQ7T000380BQ",
      "votecount": 0,
      "replyCount": 0,
      "ltitle": "李毓芬两晚奔柯震东住处 大方共处20个小时",
      "digest": "网易娱乐10月12日报道据台湾媒体报道，李毓芬多次被拍到和柯震东同进出，疑似低调交往了2年，尽管双方一度被曝情断，但是9月再传出2人已悄悄复合3个月，并被拍到夜",
      "url": "http://3g.163.com/ent/16/1012/15/C36FSQ7T000380BQ.html",
      "docid": "C36FSQ7T000380BQ",
      "title": "李毓芬两晚奔柯震东住处 大方共处20个小时",
      "source": "网易娱乐",
      "priority": 143,
      "lmodify": "2016-10-12 15:18:19",
      "imgsrc": "http://cms-bucket.nosdn.127.net/f4b1a91ffaba4846bbb3131dfd04076220161012151641.png",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 15:08:05"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/13/C36BFS0700032KMI.html",
      "postid": "C36BFS0700032KMI",
      "votecount": 123,
      "replyCount": 152,
      "ltitle": "安以轩疑透露婚讯：收到代表十全十美的小石头",
      "digest": "10月11日安以轩现身广州，为其代言的护肤品牌进行广告拍摄。心情大好的她接受采访时疑透露婚讯：“收到一个代表十全十美，完美无暇的小东西！”",
      "url": "http://3g.163.com/ent/16/1012/13/C36BFS0700032KMI.html",
      "docid": "C36BFS0700032KMI",
      "title": "安以轩疑透露婚讯：收到代表十全十美的小石头",
      "source": "网易娱乐专稿",
      "priority": 142,
      "lmodify": "2016-10-12 14:12:07",
      "imgsrc": "http://cms-bucket.nosdn.127.net/233709c5dd8a48bc90386d43ad2be36720161012141100.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 13:51:07"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/09/C35SHELE000380BQ.html",
      "postid": "C35SHELE000380BQ",
      "votecount": 991,
      "replyCount": 1081,
      "ltitle": "安以轩恋情疑曝光 与神秘男一同庆生回酒店",
      "digest": "安以轩与神秘男子全民星探10月12日报道近日，有媒体拍到安以轩与神秘男子同回酒店，疑似恋情曝光。9月28日，安以轩在上海庆生，安以轩和该神秘男子共同现身，两人搂",
      "url": "http://3g.163.com/ent/16/1012/09/C35SHELE000380BQ.html",
      "docid": "C35SHELE000380BQ",
      "title": "安以轩恋情疑曝光 与神秘男一同庆生回酒店",
      "source": "全民",
      "priority": 142,
      "lmodify": "2016-10-12 09:39:20",
      "imgsrc": "http://cms-bucket.nosdn.127.net/d73f8a37c85c4080ae9934090f1d8cd420161012093048.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 09:29:50"
    },
    {
      "postid": "PHOTIMN50003717K",
      "votecount": 74,
      "replyCount": 91,
      "skipID": "717K0003|613093",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C36E49MHgaorrupdateDoc",
      "title": "《爸爸去哪儿》四周年 愿有岁月可回首",
      "source": "网易原创",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/3e023a2120b6439493cbd951ae79845620161012144445.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/1784a339c6b44bd2affe4e28b561b03220161012144445.jpeg"
        }
      ],
      "priority": 141,
      "lmodify": "2016-10-12 14:44:47",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/8ec2be211c69402bb4757baac5cc1c3a20161012144445.jpeg",
      "photosetID": "717K0003|613093",
      "ptime": "2016-10-12 14:37:13"
    },
    {
      "docid": "9IG74V5H00963VRO_C34153H8bjjinshuupdateDoc",
      "editor": [
        
      ],
      "title": "快来围观!\"余罪\"要跟\"安生\"恋爱了!",
      "TAGS": "正在直播 视频",
      "skipID": "99674",
      "source": "网易原创",
      "imgType": 1,
      "priority": 110,
      "live_info": {
        "mutilVideo": false,
        "pano": false,
        "end_time": "2016-10-12 18:00:00",
        "user_count": 742987,
        "roomId": 99674,
        "start_time": "2016-10-12 14:00:00",
        "type": 0,
        "video": true
      },
      "lmodify": "2016-10-12 15:19:25",
      "imgsrc": "http://cms-bucket.nosdn.127.net/75621761e2e84dc5bbaf6273d2c037ef20161011132808.png",
      "digest": "",
      "skipType": "live",
      "ptime": "2016-10-11 16:11:59",
      "TAG": "正在直播"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/08/C35PDVVH000380BQ.html",
      "postid": "C35PDVVH000380BQ",
      "votecount": 4068,
      "replyCount": 4407,
      "ltitle": "周迅豪华房车曝光 影音室桑拿房SPA室一样不少",
      "digest": "网易娱乐10月12日报道据台湾《中时电子报》报道，与徐静蕾、赵薇及章子怡并称“四大花旦”的演员周迅，是首位同时拥有台湾金马奖、香港电影金像奖、内地金鸡奖等后冠殊",
      "url": "http://3g.163.com/ent/16/1012/08/C35PDVVH000380BQ.html",
      "docid": "C35PDVVH000380BQ",
      "title": "周迅豪华房车曝光 影音室桑拿房SPA室一样不少",
      "source": "网易娱乐",
      "priority": 101,
      "lmodify": "2016-10-12 15:19:21",
      "imgsrc": "http://cms-bucket.nosdn.127.net/d19bee6599b24765af8a39f351bc0ddb20161012084040.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 08:35:31"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/13/C369702U000380BQ.html",
      "postid": "C369702U000380BQ",
      "votecount": 181,
      "replyCount": 209,
      "ltitle": "袁立斥海关用剧照做宣传 遭专业网友拆台 ",
      "digest": "微博截图网易娱乐专稿10月12日报道（文/小易）昨日中午，袁立在微博斥责“12360海关”，称该账号编辑用自己的剧照做宣传，十分不严谨，不公正，不职业，甚至冒犯",
      "url": "http://3g.163.com/ent/16/1012/13/C369702U000380BQ.html",
      "docid": "C369702U000380BQ",
      "title": "袁立斥海关用剧照做宣传 遭专业网友拆台 ",
      "source": "网易娱乐专稿",
      "priority": 100,
      "lmodify": "2016-10-12 14:38:31",
      "imgsrc": "http://cms-bucket.nosdn.127.net/145ce7a286e04a1dad246770bad6f0ca20161012134059.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 13:11:19"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/08/C35PUCM7000380BQ.html",
      "postid": "C35PUCM7000380BQ",
      "votecount": 543,
      "replyCount": 597,
      "ltitle": "背呼啦圈出门？郑爽路透照惹网友调侃",
      "digest": "郑爽郑爽网易娱乐专稿10月12日报道（文/小易）近日，有网友偶遇郑爽，当天郑爽身穿黑色短裙，黄色条纹上衣配上棒球帽少女感十足。看到路透照后，网友被郑爽身上黑色标",
      "url": "http://3g.163.com/ent/16/1012/08/C35PUCM7000380BQ.html",
      "docid": "C35PUCM7000380BQ",
      "title": "背呼啦圈出门？郑爽路透照惹网友调侃",
      "source": "网易娱乐专稿",
      "priority": 100,
      "lmodify": "2016-10-12 14:12:36",
      "imgsrc": "http://cms-bucket.nosdn.127.net/83b3e02c5ef1436ab18c0b933aa3db1520161012084551.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 08:44:28"
    },
    {
      "postid": "PHOTIMM700035PF6",
      "votecount": 980,
      "replyCount": 1106,
      "skipID": "5PF60003|613063",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35RSPVDgaorrupdateDoc",
      "title": "昆凌大方送签名 助理力保小周周不被曝光",
      "source": "网易原创",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/e23a40edf874462d88670a07d50968fe20161012091829.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/88547b3b3a08477ead0e7ff301651bac20161012091829.jpeg"
        }
      ],
      "priority": 99,
      "lmodify": "2016-10-12 14:38:20",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/8caa973981cb42dcb6bd16c54d03464f20161012091829.jpeg",
      "photosetID": "5PF60003|613063",
      "ptime": "2016-10-12 09:18:33"
    },
    {
      "postid": "PHOTIMLR000300AJ",
      "votecount": 4084,
      "replyCount": 4231,
      "skipID": "00AJ0003|613051",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35NFUB8gaorrupdateDoc",
      "title": "陈少霞坐法拉利出行 上街砍价买花",
      "source": "网易原创",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/cbd3dea8a61040659dc0b6bd9cd1881f20161012080123.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/670cfb8ea0a94b00bf8470ca6705b3d920161012080123.jpeg"
        }
      ],
      "priority": 99,
      "lmodify": "2016-10-12 14:12:51",
      "boardid": "ent2_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/1c31067046fc4144a9b8eb6f54cbb55e20161012105246.jpeg",
      "photosetID": "00AJ0003|613051",
      "ptime": "2016-10-12 08:01:37"
    },
    {
      "postid": "PHOTIMLP000300AJ",
      "votecount": 27447,
      "replyCount": 28372,
      "skipID": "00AJ0003|613049",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35NDCMPgaorrupdateDoc",
      "title": "王宝强豪车换成普通车 收工后独自回家",
      "source": "网易原创",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/c28ffda78092475b954fdff27aff44e520161012080005.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/d97f9268e4f64cd1a46b829bd4ba89b420161012080005.jpeg"
        }
      ],
      "priority": 99,
      "lmodify": "2016-10-12 15:18:52",
      "boardid": "ent2_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/637568034a5144539773679ae7789c1c20161012135628.jpeg",
      "photosetID": "00AJ0003|613049",
      "ptime": "2016-10-12 08:00:14"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/14/C36EN7DU000380BQ.html",
      "postid": "C36EN7DU000380BQ",
      "votecount": 18,
      "replyCount": 23,
      "ltitle": "柔软的胖纸！刘国梁练瑜伽：男人要对自己狠一点",
      "digest": "刘国梁网易娱乐专稿10月12日报道（文/小易）今天下午，刘国梁在微博晒出一组健身照，并称“不管你懂不懂球，今天绝不放过你，不能再惯着自己了，男人就要对自己狠一点",
      "url": "http://3g.163.com/ent/16/1012/14/C36EN7DU000380BQ.html",
      "docid": "C36EN7DU000380BQ",
      "title": "柔软的胖纸！刘国梁练瑜伽：男人要对自己狠一点",
      "source": "网易娱乐专稿",
      "priority": 98,
      "lmodify": "2016-10-12 14:53:30",
      "imgsrc": "http://cms-bucket.nosdn.127.net/9010dd081e4b4ee1bd3dd7282f09eb4920161012145159.png",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 14:47:33"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/11/C364RKJV000380D0.html",
      "postid": "C364RKJV000380D0",
      "votecount": 122,
      "replyCount": 141,
      "ltitle": "国庆档票房扑街 多家影视股今年跌幅超过40％",
      "digest": "南京龙虎网-金陵晚报10月12日报道今年国庆档全国电影票房收入15.88亿元，较2015年创纪录的18.63亿元下降14.76%，出现近年来首次国庆档电影票房负",
      "url": "http://3g.163.com/ent/16/1012/11/C364RKJV000380D0.html",
      "docid": "C364RKJV000380D0",
      "title": "国庆档票房扑街 多家影视股今年跌幅超过40％",
      "source": "南京龙虎网-金陵晚报",
      "priority": 98,
      "lmodify": "2016-10-12 14:13:10",
      "imgsrc": "http://cms-bucket.nosdn.127.net/e161e40b9ad048149e22bd71a013b83020161012115854.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 11:55:12"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/10/C35VH64O000380BQ.html",
      "postid": "C35VH64O000380BQ",
      "votecount": 290,
      "replyCount": 353,
      "ltitle": "孙俪误把羊屎当蓝莓 网友调侃幸好没捡起来",
      "digest": "孙俪微博截图网易娱乐专稿10月12日报道（文/小易）昨日晚上，孙俪更新动态，称自己在村口把一地羊屎看成蓝莓。随即惹来不少网友调侃：“还好不是邓超看见的，不然他会",
      "url": "http://3g.163.com/ent/16/1012/10/C35VH64O000380BQ.html",
      "docid": "C35VH64O000380BQ",
      "title": "孙俪误把羊屎当蓝莓 网友调侃幸好没捡起来",
      "source": "网易娱乐专稿",
      "priority": 98,
      "lmodify": "2016-10-12 11:13:29",
      "imgsrc": "http://cms-bucket.nosdn.127.net/6b2ccc70bd8b4d9f88f485610f7075b020161012102327.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 10:22:07"
    },
    {
      "url_3w": "http://ent.163.com/16/1012/09/C35RG867000380BQ.html",
      "postid": "C35RG867000380BQ",
      "votecount": 754,
      "replyCount": 873,
      "ltitle": "张艺兴晕倒后继续开工 面带倦容神情疲惫",
      "digest": "网易娱乐专稿10月12日报道（文/小易）昨日下午，张艺兴在搭乘飞机之前突然晕倒。据现场目击者称，张艺兴被抬上支架后仍未恢复意识，随后经纪公司回应称“睡眠不足晕倒",
      "url": "http://3g.163.com/ent/16/1012/09/C35RG867000380BQ.html",
      "docid": "C35RG867000380BQ",
      "title": "张艺兴晕倒后继续开工 面带倦容神情疲惫",
      "source": "网易娱乐专稿",
      "priority": 98,
      "lmodify": "2016-10-12 11:47:18",
      "imgsrc": "http://cms-bucket.nosdn.127.net/5571aaa83d27463babf70d08b81c6d1d20161012091556.jpeg",
      "subtitle": "",
      "boardid": "ent2_bbs",
      "ptime": "2016-10-12 09:11:42"
    }
  ]
};

app.controller("headCon3", function($scope) {
	// 保存顶部轮播图的对象
	$scope.headerObj3 = {};
	$scope.headerObj3 = obj3.T1348648517839[0];
	$scope.headArr3 = [];

	// 解析顶部轮播图数据
	var headerImgArr3 = $scope.headerObj3.imgextra;
	for(var k = 0; k < headerImgArr3.length; k++) {
		$scope.headArr3.push({
			"imgsrc": headerImgArr3[k].imgsrc,
			"title": $scope.headerObj3.title
		});
	}
	//给轮播图额外添加的2张图片对象
	$scope.first = $scope.headArr3[$scope.headArr3.length - 1];
	$scope.last = $scope.headArr3[0];
});
app.controller("homePageCon3", function($scope) {
	// 保存底下新闻的数据 (初始化)
	$scope.arr3 = [];
	var arr3 = obj3.T1348648517839;
	for(var i = 1; i < arr3.length; i++) {
		$scope.arr3.push(arr3[i]);
	}
});